<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>user information</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="css/user/information/frame.css">
	<link rel="stylesheet" type="text/css" href="css/user/information/profile.css">
	<link rel="stylesheet" type="text/css" href="css/user/information/layer.css">
	<link rel="stylesheet" type="text/css" href="css/user/information/skin.css">
	
	<script type="text/javascript" src="js/jquery.js"></script>
	

  </head>
  
  <body>
    <div class="container">
    <div class="profile_pinfo" id="pl_content_account"> 
	<div class="infoblock" node-type="base_out">
	<form class="info_title"><fieldset class="S_line2"><legend class="tit S_txt1">基本信息</legend><div class="btns"><a class="W_btn_round" href="javascript:void(0)" action-type="edit" node-type="edit" action-data="edit=0"><span>编辑</span></a></div></fieldset></form>
	<div node-type="base_view">
	<div class="pf_item clearfix">
		<div class="label S_txt2">昵&nbsp;&nbsp;称</div>
		<div class="con" node-type="nickname_view">仙人掌和菲猫</div>
	</div>
	<div class="pf_item clearfix">
		<div class="label S_txt2">真实姓名</div>
		<div class="con" node-type="realname_view"></div>
	</div>
	<div class="pf_item clearfix">
		<div class="label S_txt2">所在地</div>
		<div class="con" node-type="city_view">湖北 武汉</div>
	</div>
	<div class="pf_item clearfix">
		<div class="label S_txt2"> 性&nbsp;&nbsp;别</div>
		<div class="con" node-type="sex_view">女</div>
	</div>
	<div class="pf_item clearfix">
		<div class="label S_txt2">生日</div>
		<div class="con" node-type="birth_view">1992-06-28</div>
	</div>
		</div>
	</div>
	<div class="infoblock" node-type="com_out">
	<form class="info_title"><fieldset class="S_line2"><legend class="tit S_txt1">联系信息</legend><div class="btns"><a class="W_btn_round" href="javascript:void(0)" action-type="edit" node-type="edit" action-data="edit=0"><span>编辑</span></a></div></fieldset></form>
	<div node-type="com_view">
	<div class="pf_item clearfix">
		<div class="label S_txt2">邮箱</div>
		<div class="con" node-type="email_view"><a href="javascript:void(0)" action-type="quickedit" action-data="type=qq"><i class="W_ico16 icon_edit"></i>马上填写</a>你的邮箱信息</div>
	</div>
	<div class="pf_item clearfix">
		<div class="label S_txt2">手机号</div>
		<div class="con" node-type="qq_view">
		<p><a href="javascript:void(0)" action-type="quickedit" action-data="type=qq"><i class="W_ico16 icon_edit"></i>马上填写</a>你的手机信息</p>
		</div>
	</div>
	</div>
	</div>
	<div class="infoblock" node-type="job_out">
	<form class="info_title"><fieldset class="S_line2"><legend class="tit S_txt1">职业信息</legend><div class="btns"><a class="W_btn_round" href="javascript:void(0)" action-type="edit" node-type="edit" action-data="edit=0"><span>编辑</span></a></div></fieldset>
	</form>
	<div node-type="job_view">
		<div class="con"><a href="javascript:void(0)" action-type="quickedit"><i class="W_ico16 icon_edit"></i>马上填写</a>你的职业信息，让他人更好的了解你，与更多的同事微博相遇！</div>
		</div>
	</div>

</div>
    </div>
    <script type="text/javascript">
    var id=1;
    $.ajax({
		type:"post",
		dataType:"json",
		url:"informationindex",
		data:{"id":id},
		success:function(json){
			$(".con:eq(0)").html(json.information.id);
			$(".con:eq(1)").html(json.information.realname);
			$(".con:eq(2)").html(json.information.address);
			$(".con:eq(3)").html(json.information.sex);
			$(".con:eq(4)").html(json.information.birthday);
			$(".con:eq(5)").html(json.information.email);
			$(".con:eq(6)").html(json.information.phone);
			$(".con:eq(7)").html(json.information.job);
			
				
		}
		});
    </script>
  </body>
</html>
